package com.example.mapper;


import com.example.entity.University;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UniversityRepository extends JpaRepository<University, Integer> {
    // 根据学校名称和专业查找数据
    List<University> findBySchoolAndMajor(String school, String major);
    List<University> findAll();
}
